def calculate_sum(a, b):
    # 未使用的变量
    unused_variable = 42
    result = a + b
    return result


def process_data(data_list):
    processed_data = []
    for item in data_list:
        if item > 0:
            processed_data.append(item * 2)
        elif item < 0:
            processed_data.append(item * 3)
        else:
            # 冗长的条件表达式
            if item == 0:
                processed_data.append(0)
    return processed_data


def main():
    numbers = [1, 2, 3, -1, -2, 0]
    sum_result = calculate_sum(5, 3)
    print(f"Sum result: {sum_result}")

    processed_numbers = process_data(numbers)
    print(f"Processed numbers: {processed_numbers}")

    # 未处理的异常
    try:
        division_result = 10 / 0
    except ZeroDivisionError:
        pass  # 空的异常处理


if __name__ == "__main__":
    main()